home *** CD-ROM | disk | FTP | other *** search
/ Commodore Free 24 / Commodore_Free_Issue_24_2008_Commodore_Computer_Club.d64 / t.news 1 < prev    next >
Text File  |  2023-02-26  |  10KB  |  387 lines

  1. u
  2.  
  3. NEWS
  4.  
  5. 64JPX - JoyPad eXpander
  6. for Commodore and Atari compatible
  7. systems
  8.  
  9. OVERVIEW
  10. 64JPX is a small interface designed to
  11. rejuvenate the way with which you play
  12. your favourite games on the Commodore
  13. or Atari system.
  14.  
  15. Whilst joysticks were all the range in
  16. the 70s and 80s,the 1990s saw a move
  17. towards joypad style controllers with
  18. more buttons and ergonomic feel. 64JPY
  19. not only allows you to safely connect
  20. Sega Genesis/MegaDrive 3 and 6 button
  21. controllers to your retro system, it
  22. enhances game play with a number of
  23. on-the-fly selectable play modes.
  24.  
  25. 64JPX will give your favourite old
  26. games a new lease of life, and may
  27. actually make you play better!
  28.  
  29. Note: an SNES version of 64JPX is also
  30. under development.
  31.  
  32. FEATURES
  33. -Simple to use plug-in smart interface
  34.  
  35. -Safely connect Sega MegaDrive/Genesis
  36. 3 and 6 button joypad, and other
  37. controllers
  38. -Enhances game play with a number of
  39. on-the-fly selectable gaming
  40. enhancement modes
  41. -Works out-of-the-box with Commodore,
  42. Atari and other compatible systems
  43.  
  44. CONNECTIVITY
  45. -Provides diode protection to
  46. Commodore and Atari systems
  47. -Provides signal conversion from Sega
  48. joypads (via adaptors) Provides
  49. connection to other controllers such
  50. as PC Wheels, flight yokes, 8-button
  51. joypads, and more...
  52.  
  53. ENHANCEMENT MODES (SEGA):
  54. -default: A=fire, B=rapid fire1,
  55. C=rapid fire2
  56. -racing: A=fire, B=up, C=down
  57. -waddle: A=fire, B=waddle1, C=waddle2
  58. -creep: A=fire, B=creep left, C=creep
  59. right
  60.  
  61. FURTHER INFO
  62. Additional information can be found in
  63. the preliminary user manual which can
  64. be downloaded here
  65. http://www.64hdd.com/64jpx/64jpx.pdf
  66. (PDF format)
  67.  
  68. 64jpx Update
  69. The PCB has gone out for manufacture.
  70. The final PCB ended up being very
  71. similar in size to the prototype
  72. shown.
  73. Now I need to finalise orders for the
  74. parts; the micro being the most
  75. expensive - and so I am hoping to
  76. avoid ending up with a huge stockpile
  77. of them!
  78.  
  79. Plans are to support a variety of
  80. versions based on feedback. Currently
  81. on the list to offer are:
  82.  
  83. -Sega only
  84. -Sega/PCanalog combo
  85. -Sega/SNES/NES combo
  86. -SNES/NES enhanced combo
  87.  
  88. I was surprised by the interest in the
  89. older NES controller since it doesn't
  90. have many extra buttons, but due to
  91. the interest I have decided to support
  92. the controller.
  93.  
  94. Note: SNES/NES controllers have a
  95. specialised connector. The cheapest
  96. hack is to splice a DB9 connector into
  97. the original controller cable.
  98. Instructions will be supplied for
  99. this, but will require some soldering
  100. skills. eBay has SNES/NES extension
  101. cables for sale. I have a limited
  102. number which I can also provide as
  103. pre-made pin-adaptors on a
  104. first-come-first- served basis.
  105.  
  106. I will be working on finalising the
  107. software whilst I await the components
  108. from suppliers. Last chance for some
  109. brainstorming if people want extra
  110. enhancement functions!
  111.  
  112. A dual-ported version worked out to be
  113. more expensive than two individual
  114. interfaces, so has been dropped.
  115.  
  116. Website has been updated with some
  117. extra pictures.
  118. http://www.64hdd.com/64jpx/
  119.  
  120. Discount pricing will be given to
  121. those that pre-order by 28 Aug 2008.
  122. The early pre-order information you
  123. supply will help me estimate and
  124. budget for the parts that need to be
  125. purchased.
  126.  
  127. ===============================
  128.  
  129. The Aztec C Website
  130. The Aztec C Website has been updated
  131. and now has its own domain:
  132. http://www.aztecmuseum.ca/
  133.  
  134. The history has been revised and since
  135. Harry Suckow (who holds the
  136. Copyrights) has given permission for
  137. the site the conditions of use have
  138. been revised and clarified. More
  139. updates and complete revamping and
  140. expansion of the site are planned in
  141. the near future, but this update and a
  142. dedicated domain was long overdue. The
  143. site can still be accessed through the
  144. previous links as well, since both
  145. point to the same server. Also getting
  146. theirown domains are:
  147.  
  148. http://www.appleoldies.ca/ and
  149. http://www.c64classics.ca/
  150.  
  151. These sites are related to Aztec C in
  152. a big way and will also see major
  153. changes and expansion in the near
  154. future.
  155. Have Fun! Bill Buckels
  156.  
  157. PS - any of you "Philadephia Lawyers"
  158. who have made uncharitable comments
  159. about the Aztec C site's legitimacy
  160. and my own as well in this effort can
  161. now return to normal programming.
  162.  
  163. -------------
  164.  
  165. Programming protection manual
  166. I found a book called "Program
  167. protection manual for the C-64 Volume
  168. I" by TN Simstad. I have two
  169. questions:
  170. - The book mentions a floppy disk. Is
  171. anyone willing to share the D64 of
  172. this with me?
  173. - "Volume I" implies that there is a
  174. volume 2. Can anybody confirm this
  175. and, even better, share a PDF of it
  176. with me?
  177.  
  178. I wish, but it's unlikely a part 2 was
  179. every written. I remember I read about
  180. this underground pubblication around
  181. 1987 in mags when did my first steps
  182. about game cracking and drooled at the
  183. idea of getting a copy of this
  184. "phantom" book. :D Now I found that
  185. contains nothing more than I have
  186. learned by myself, just had to spend
  187. years to collect all these infos ;) On
  188. my turn I'm willing to share the PDF
  189. of this book. was already posted here
  190. and it's hosted there:
  191. http://70.116.30.93:6809/
  192. ppm1.pdf 37.9 MB
  193. ppm1_36.pdf 3.63 MB
  194.  
  195. ---------------
  196.  
  197. C64 Coding: IRQ Coding Tutorial
  198. C64 Coding: IRQ Coding Tutorial
  199. Using the Monitor feature of "Action
  200. Replay Version 6" Cartridge
  201.  
  202. http://www.youtube.com/watch?v=Z-AINpOu
  203. lGs
  204. http://www.youtube.com/watch?v=qfkcmBpw
  205. axI&feature=related
  206. http://www.youtube.com/watch?v=vIwqrVT1
  207. guU&feature=related
  208. http://www.youtube.com/watch?v=9cefYKc7
  209. ziU&feature=related
  210.  
  211. Here is a nice tutorial on how to code
  212. an IRQ (Interrupt Request) for the
  213. Commodore 64
  214. Here is the code copied from the
  215. Program for people without access to
  216. YouTube, and has been documented by
  217. the creator and checked to ensure my
  218. typing was accurate. The Creator has
  219. also added some comments about how to
  220. use action replay and has turned into
  221. a mini tutorial in its own right.
  222.  
  223. On the you tube video; the tutor loads
  224. a file using action replay fast loader
  225. this is a music PRG file, action
  226. replay reports the memory location of
  227. the file, Here is a note from the You
  228. tube IRQ coding creator "Conrad" who
  229. describes each line of the program
  230.  
  231. "Conrad"
  232. This is a simple tutorial, taking the
  233. reader through the creation of a
  234. simple IRQ music player. This player
  235. will run under interrupt outside of
  236. BASIC or of any other assembler
  237. programs, leaving your machine free
  238. for other tasks.
  239.  
  240. Level type: Novice
  241. In this example, we will the use
  242. ACTION REPLAY cartridge (particularly
  243. version 4-6 or you can use the MMC
  244. Replay version) to allow programming
  245. with a quick and dirty monitor and
  246. dissembler.
  247.  
  248. IMPORTANT NOTE!
  249. Make sure that the music file you use
  250. is NOT a .SID file, but a standard
  251. .PRG file.
  252.  
  253. 1.)  From start-up, Go into FASTLOAD
  254. mode on the Action Replay menu by
  255. pressing (F7).
  256.  
  257. 2.)  Load a music file with the start
  258. at address of $1000 (4096 decimal)
  259. making sure that the init address is
  260. $1000 and the play address is $1003.
  261. To check this, use a decent SID player
  262. on Windows like SidPlay2/w to check
  263. the technical information of the .sid
  264. file.
  265.  
  266. 3.)  When the file is loaded with the
  267. Action Replay fast-loader, it will
  268. display the end address of the file,
  269. you need to keep a note of this
  270. address for use later in this
  271. tutorial.
  272.  
  273. 4.)  Open up the monitor by typing the
  274. command "MON" and then press return.
  275. On the first line within monitor mode,
  276. type "A $0F00" and press return, this
  277. will start assembling at the memory
  278. location $0F00
  279.  
  280. 5.)  Enter the following code
  281. (excluding the comments)
  282.  
  283.   SEI    ; Set the interrupt flag,
  284. disabling interrupts
  285. ; needs to be done or the cpu will
  286. crash during
  287.       ; execution of an IRQ set-up
  288.  
  289.   LDA#$37    ; For this example
  290. tutorial, make sure the    
  291.   STA$01    ; Kernal is enabled by
  292. configuring the mem config register.
  293.  
  294.   LDA#$00    ; Initialise music by
  295. loading A with zero (song
  296.   JSR$1000  ; number for most players)
  297. and call the address.
  298.  
  299.   LDA#$01    ; Set raster IRQ compare
  300. flags, needed during
  301.   STA$D01A  ; and IRQ execution.
  302.   STA$D019  ;
  303.  
  304.   LDA#$7F    ; Set CIA register bits
  305. to check for IRQ
  306.   STA$DC0D  ; interrupt during each
  307. frame.
  308.   LDA$DC0D  ; Latch $DC0D register.
  309.  
  310.   LDA#$0F    ; Set the IRQ vector
  311. addresses with the address
  312.   STA$0315  ; of the interrupt
  313. execution program. This example is
  314.   LDA#$30    ; memory location $0F30.
  315. $0315 stores the most
  316.   STA$0314  ; significant byte, where
  317. $0314 stores the least.
  318.  
  319.   LDA#$68    ; Set target interrupt
  320. raster line. This will    
  321.   STA$D012  ; be the raster position
  322. when an interrupt is detected.
  323.  
  324.   LDA#$1B    ; Set gfx mode to text
  325. view and MSB of raster to
  326.   STA$D011  ; zero.
  327.  
  328.   CLI    ; Clear Interrupts
  329.  
  330.   RTS    ; Return from Subroutine
  331. (back to point of caller)
  332.  
  333.   LDA$D012  ; Check the raster line is
  334. equal or over the    
  335.   CMP$D012  ; target raster line
  336. before continuing, BNE$0F33 
  337. ; branching back if not equal. "$0F33"
  338.          
  339. ; represents the jump address.
  340.  
  341.   DEC$D020  ; Decrease border colour
  342. by 1
  343.   JSR$1003  ; Call music play address
  344. to play music each frame.
  345.  
  346.   INC$D020  ; Increment border colour
  347. this will show a change
  348. ; in the border colour and show how
  349. many        
  350. ; raster lines are used in the music
  351. player
  352.  
  353.   LDA#$01    ; Reset Raster irq flag
  354. to run another raster      
  355.   STA$D019  ; IRQ check at the frame.
  356.  
  357.   JMP$EA31  ; Jump to Kernal routine
  358. that loads registers to      
  359. ; original states and returns from
  360. interrupt.
  361.  
  362. 5.)  To get the start address of this
  363. program in decimal, type "N $0F00" to
  364. take note of the decimal output, which
  365. in this case is 3840.
  366.  
  367. 6.)  To save this assembler program,
  368. type the following:
  369.  
  370. .S "IRQ MUSIC PLAYER",8,$0F00,$????
  371.  
  372. where "$????" equals the end address
  373. of the music you loaded previously.
  374. The program will then be saved to
  375. disk.
  376.  
  377. 7.)  Exit the monitor by typing "X" to
  378. return to basic.
  379.  
  380. 8.)  Type "SYS 3840" to start the
  381. assembly program we have entered. To
  382. stop the IRQ from running, hold
  383. "RUN/STOP" and press "RESTORE".
  384. --------------------------------------
  385.          CONTINUED IN PART 2
  386.  
  387.